package com.yn.club.subject.domain.convert;

import java.time.LocalDateTime;
import java.util.List;
import com.yn.club.subject.domain.entity.SubjectCategoryDO;
import com.yn.club.subject.infra.basic.entity.SubjectCategory;

import org.mapstruct.Mapper;
import com.yn.club.common.util.MapStructUtil;
/**
 * 题目分类(SubjectCategory)DO和Entity转换
 *
 * @author YN
 * @since 2025-01-21 17:36:34
 */
@Mapper(componentModel = "spring", uses = {MapStructUtil.class})
public interface SubjectCategoryDomainConverter {

  SubjectCategory convertDoToEntity(SubjectCategoryDO ojb);
  
  List<SubjectCategory> convertDoToEntity(List<SubjectCategoryDO> ojbs);
  
  SubjectCategoryDO convertEntityToDo(SubjectCategory ojb);
  
  List<SubjectCategoryDO> convertEntityToDo(List<SubjectCategory> ojbs);
  
  
}

